Skip to content

[DOCS] Expand info on Makefile, uv, prek and code quality#3081

Open
jbampton wants to merge 1 commit into
apache:masterfrom
jbampton:add-more-dev-docs
Open

[DOCS] Expand info on Makefile, uv, prek and code quality#3081
jbampton wants to merge 1 commit into
apache:masterfrom
jbampton:add-more-dev-docs

Conversation

@jbampton

Copy link
Copy Markdown
Member

Did you read the Contributor Guide?

Is this PR related to a ticket?

  • No:
    • this is a documentation update. The PR name follows the format [DOCS] my subject

What changes were proposed in this PR?

Add more info on how our systems work for docs and code quality.

Let us help people use the tools correctly on their local machines.

How was this patch tested?

Did this PR include necessary documentation updates?

  • No, this PR does not affect any public API so no need to change the documentation.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR expands the contributor documentation for building Sedona docs locally and running code-quality checks, focusing on using the repository Makefile together with uv and prek.

Changes:

  • Adds a “Compiling via Makefile” section that documents make docsbuild and explains its steps.
  • Reworks/expands the “Code Quality Checks with prek, uv, and make” section, including a standalone (non-Makefile) flow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/setup/compile.md
**What this command does behind the scenes:**

1. **Environment Verification:** Validates that `uv` is available on your local path.
2. **Dependency Syncing:** Runs `uv sync --all-groups` to automatically set up or synchronize an isolated virtual environment (`.venv`) containing MkDocs and compilation dependencies.
Comment thread docs/setup/compile.md
To keep linter definitions synchronized with upstream styling configurations without a `Makefile` shortcut, trigger an explicit update through the core engine:

```bash
uv run prek autoupdate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants